﻿using SIG.Core;
using SIG.Resources.Admin;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace SIG.Model.Blogs
{
    public class PostCategory : AuditableEntity<int>
    {
        public PostCategory()
        {
            EntityName = EntityNames.PostCategory;
            this.Posts = new List<Post>();
        }

    
        public string Title { get; set; }
        public string Description { get; set; }
        public int Importance { get; set; }
        public bool Active { get; set; }
  

        public virtual ICollection<Post> Posts { get; set; }
      
    }
}
